package cn.mxh.pethspt.entity;
/**用户实体类*/
public class User {
    private Integer uId;//用户id
    private Integer hId;//医院id
    private String uName;//用户真实名字
    private String uNiCheng;//用户昵称
    private String uSex;//用户性别
    private String uNumber;//用户的身份证号
    private String uPhone;//用户联系电话
    private Integer pId;//用户宠物id
    private String uPassword;//用户密码



    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuNiCheng() {
        return uNiCheng;
    }

    public void setuNiCheng(String uNiCheng) {
        this.uNiCheng = uNiCheng;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public String getuNumber() {
        return uNumber;
    }

    public void setuNumber(String uNumber) {
        this.uNumber = uNumber;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public User(){}
    public User(Integer uId, Integer hId, String uName, String uNiCheng, String uSex, String uNumber, String uPhone, Integer pId, String uPassword) {
        this.uId = uId;
        this.hId = hId;
        this.uName = uName;
        this.uNiCheng = uNiCheng;
        this.uSex = uSex;
        this.uNumber = uNumber;
        this.uPhone = uPhone;
        this.pId = pId;
        this.uPassword = uPassword;
    }

    @Override
    public String toString() {
        return "User{" +
                "uId=" + uId +
                ", hId=" + hId +
                ", uName='" + uName + '\'' +
                ", uNiCheng='" + uNiCheng + '\'' +
                ", uSex='" + uSex + '\'' +
                ", uNumber='" + uNumber + '\'' +
                ", uPhone='" + uPhone + '\'' +
                ", pId=" + pId +
                ", uPassword='" + uPassword + '\'' +
                '}';
    }
}
